package com.broadengate.service.impl;

import com.broadengate.model.Card;
import com.broadengate.model.Transfer;
import com.broadengate.service.TransferService;
import com.broadengate.dao.TransferDao;

public class TransferServiceImpl implements TransferService {

	private TransferDao transferDao;
	
	public void trans(Card cardDestined, Card cardSource, Transfer transfer) {
		
		transferDao.trans(cardDestined, cardSource, transfer);
	}
	
	public void deleteTrans(String cardNO){
		transferDao.deleteTrans(cardNO);
	}
	
	public TransferDao getTransferDao() {
		return transferDao;
	}

	public void setTransferDao(TransferDao transferDao) {
		this.transferDao = transferDao;
	}
	
}
